import PageTitle from './page-title.vue';
import PartitionContent from './partition-content.vue';

const allComponents = [PageTitle, PartitionContent];

export default {
    install: function (Vue) {
        allComponents.forEach(component => {
            // 有name的才会给注册
            if(component.name) {
                Vue.component(component.name, component);
            }
        })
    }
};
